package beanstao.util.response;



public class BooleanData extends PD
{
	private BooleanData()
	{
	}

	private boolean _innerBool;

	static BooleanData ME(boolean b)
	{
		BooleanData data = new BooleanData();
		data._responseData = b;
		data._innerBool = b;
		return data;
	}

	@Override
	public String toJson()
	{
		if (null == _responseData)
		{
			this.logWarn("Response数据为空。");
			return null;
		}
		return String.valueOf(_innerBool);
		// return Sber.ME("result:").append(this._innerBool).surround("{", "}").toString();
	}

}
